home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 1 / MacMania 1.toast / Educational / Sciences / Mole 1 / card_12385.txt < prev    next >
Text File  |  1990-06-19  |  3KB  |  141 lines

  1. -- card: 12385 from stack: in
  2. -- bmap block id: 12662
  3. -- flags: 0000
  4. -- background id: 2601
  5. -- name: 
  6.  
  7.  
  8. -- part 2 (field)
  9. -- low flags: 01
  10. -- high flags: 0004
  11. -- rect: left=89 top=205 right=323 bottom=478
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 3
  16. -- text size: 24
  17. -- style flags: 0
  18. -- line height: 32
  19. -- part name: See Sol
  20. ----- HyperTalk script -----
  21.  
  22. on mouseup
  23.   global flag
  24.   put 1 into flag
  25.   hide card field "See Sol"
  26.   put empty into card field "See Ans"
  27.   put"Click Here" into line 1 of card field "See Ans"
  28.   put"to" into line 2 of card field "See Ans"
  29.   put"Hide Solution" into line 3 of card field "See Ans"
  30.   show card field "See Ans"
  31. end mouseup
  32.  
  33.  
  34.  
  35. -- part 4 (button)
  36. -- low flags: 00
  37. -- high flags: 8003
  38. -- rect: left=427 top=142 right=191 bottom=496
  39. -- title width / last selected line: 0
  40. -- icon id / first selected line: 27009 / 27009
  41. -- text alignment: 1
  42. -- font id: 0
  43. -- text size: 12
  44. -- style flags: 0
  45. -- line height: 16
  46. -- part name: Next Prob.
  47. ----- HyperTalk script -----
  48. on mouseUp
  49.   global flag
  50.   put 1 into flag
  51.   send mouseup to card field "see Ans"
  52.   visual dissolve slow to grey
  53.   go to next card
  54. end mouseUp
  55.  
  56.  
  57.  
  58. -- part 6 (button)
  59. -- low flags: 00
  60. -- high flags: 8003
  61. -- rect: left=427 top=102 right=136 bottom=496
  62. -- title width / last selected line: 0
  63. -- icon id / first selected line: 0 / 0
  64. -- text alignment: 1
  65. -- font id: 0
  66. -- text size: 12
  67. -- style flags: 0
  68. -- line height: 16
  69. -- part name: Menu
  70. ----- HyperTalk script -----
  71. on mouseUp
  72.   global flag
  73.   put 1 into flag
  74.   send mouseup to card field "see Ans"
  75.   go to card menu
  76. end mouseUp
  77.  
  78.  
  79.  
  80. -- part 9 (button)
  81. -- low flags: 00
  82. -- high flags: 8002
  83. -- rect: left=5 top=286 right=331 bottom=86
  84. -- title width / last selected line: 0
  85. -- icon id / first selected line: 0 / 0
  86. -- text alignment: 1
  87. -- font id: 0
  88. -- text size: 12
  89. -- style flags: 0
  90. -- line height: 16
  91. -- part name: MolarMass
  92. ----- HyperTalk script -----
  93. on mouseUp
  94.   hide card button "MolarMass"
  95.   wait 1 seconds
  96.   Show card button "MolarMass"
  97. end mouseUp
  98.  
  99.  
  100.  
  101. -- part 10 (field)
  102. -- low flags: 01
  103. -- high flags: 0004
  104. -- rect: left=190 top=117 right=197 bottom=324
  105. -- title width / last selected line: 0
  106. -- icon id / first selected line: 0 / 0
  107. -- text alignment: 1
  108. -- font id: 3
  109. -- text size: 18
  110. -- style flags: 0
  111. -- line height: 24
  112. -- part name: See Ans
  113. ----- HyperTalk script -----
  114. on mouseup
  115.   global flag
  116.   if flag = 0 then
  117.     hide card field "See Ans"
  118.     wait 2 seconds
  119.     show card field "See Ans"
  120.   else
  121.     put zero into flag
  122.     put"Click Here" into line 1 of card field "See Ans"
  123.     put"to" into line 2 of card field "See Ans"
  124.     put"See Answer" into line 3 of card field "See Ans"
  125.     show card field "See sol"
  126.  
  127.   end if
  128.  
  129. end mouseup
  130.  
  131.  
  132. -- part contents for card part 2
  133. ----- text -----
  134.  
  135. Click Here to See Solution
  136.  
  137. -- part contents for card part 10
  138. ----- text -----
  139. Click Here
  140. to
  141. See Answer